﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 校园管理系统
{
    class Person
    {
        // 在学生类中定义编号（Id）、姓名（Name）
        //、性别（Sex）、身份证号（Cardid）、联系方式（Tel）
        private int _id; 
        private string _name;
        private char _sex;
        private long _cardid;
        private string _tel;

        public int Id { get => _id; set => _id = value; }
        public string Name { get => _name; set => _name = value; }
        public char Sex { get => _sex; set => _sex = value; }
        public long Cardid { get => _cardid; set => _cardid = value; }
        public string Tel { get => _tel; set => _tel = value; }
        public Person(int id, string name, char sex, long cardid, string tel)
        {
            Id = id;
            Name = name;
            Sex = sex;
            Cardid = cardid;
            Tel = tel;
        }




    }
}
